package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Claim {
    private Long id;
    //编号
    private String sn;
    //报案人
    private String reporter;
    //报案人电话
    private String tel;
    //录入时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inputTime;
    //审核时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date auditTime;

    private Boolean state;
    //保单编号
    private String staging;
    //录入用户
    private Employee inputUser;
    //审核用户
    private Employee auditUser;
    //审核表
    private AccidentAudit accidentAudit;
    //事故明细
    private ClaimItem item ;

}